﻿@model JT.WEB.Models.Were.TbWuPinInfo
@{
ViewData["Title"] = "增加物品";
}

<div class="row">
    <div class="col-md-4">
        <form method="post" asp-action="WuPinCreate">

            <div class="form-group">
                <label asp-for="NameClassId" class="control-label"></label>
                <select asp-for="NameClassId" class="form-control" asp-items="ViewBag.NameClass"></select>
                <span asp-validation-for="NameClassId" class="text-danger"></span>
            </div>

            <div class="form-group">
                <label asp-for="ItemName" class="control-label"></label>
                <input asp-for="ItemName" class="form-control" />
                <span asp-validation-for="ItemName" class="text-danger"></span>
            </div>


            <div class="form-group">
                <label asp-for="Inventory" class="control-label"></label>
                <input asp-for="Inventory" class="form-control" />
                <span asp-validation-for="Inventory" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="UnitName" class="control-label"></label>
                <input asp-for="UnitName" class="form-control" />
                <span asp-validation-for="UnitName" class="text-danger"></span>
            </div>

            <div class="form-group">
                <label asp-for="CStandard" class="control-label"></label>
                <input asp-for="CStandard" class="form-control" />
                <span asp-validation-for="CStandard" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="UnitPrice" class="control-label"></label>
                <input asp-for="UnitPrice" class="form-control" />
                <span asp-validation-for="UnitPrice" class="text-danger"></span>
            </div>

            @*<div class="form-group">
                <label asp-for="NamePerson" class="control-label"></label>
                <select asp-for="NamePerson" class="form-control" asp-items="ViewBag.NamePerson"></select>
            </div>*@

            <div class="form-group">
                <input type="submit" value="保存" class="btn btn-outline-success" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-action="WuPinIndex">返回列表</a>
</div>

@section Scripts {
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
